package com.wss.common.wechat.massage.app;


import com.wss.common.wechat.massage.MsgInfo;

import javax.xml.bind.annotation.XmlElement;

/**
 * 授权信息消息
 *
 * @author qsyang
 * @version 1.0
 */
public class AuthInputMessage extends AppMessage{

    //授权公众号appId
    private String AuthorizerAppId;
    //授权码
    private String AuthorizationCode;
    //过期时间
    private Long AuthorizationCodeExpiredTime;

    public String getAuthorizerAppId() {
        return AuthorizerAppId;
    }


    public void setAuthorizerAppId(String authorizerAppId) {
        AuthorizerAppId = authorizerAppId;
    }

    public String getAuthorizationCode() {
        return AuthorizationCode;
    }

    public void setAuthorizationCode(String authorizationCode) {
        AuthorizationCode = authorizationCode;
    }

    public Long getAuthorizationCodeExpiredTime() {
        return AuthorizationCodeExpiredTime;
    }

    public void setAuthorizationCodeExpiredTime(Long authorizationCodeExpiredTime) {
        AuthorizationCodeExpiredTime = authorizationCodeExpiredTime;
    }

    @Override
    public String getInfoType() {
        return MsgInfo.Authorized.toString();
    }
}
